<?php
namespace Catalog\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Basket
 *
 * @ORM\Table(name="basket")
 * @ORM\Entity
 */
class Basket
{
    /**
     * @var integer
     *
     * @ORM\Column(name="basket_id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="SEQUENCE")
     * @ORM\SequenceGenerator(sequenceName="basket_id_sequence", allocationSize=1, initialValue=1)
     */
    private $basketId;

    /**
     * @var string
     *
     * @ORM\Column(name="session_id", type="string", length=256, nullable=false)
     */
    private $sessionId;

    /**
     * @var integer
     *
     * @ORM\Column(name="items_count", type="integer", nullable=false)
     */
    private $itemsCount;

    /**
     *
     * @var float @ORM\Column(name="total", type="decimal", nullable=false)
     */
    private $total;

    /**
     * @var string
     *
     * @ORM\Column(name="currency", type="string", nullable=false)
     */
    private $currency;

    /**
     * @var integer
     *
     * @ORM\Column(name="store_id", type="integer", nullable=false)
     */
    private $storeId;

    /**
     * 
     * @return number
     */
    public function getId() 
    {
    	return $this->basketId;
    }

    /**
     *
     * @return int
     */
    public function getStoreId()
    {
    	return $this->storeId;
    }
    
    /**
     * 
     * @param int $storeId
     */
    public function setStoreId($storeId)
    {
    	$this->storeId = $storeId;
    }
    
    /**
     * 
     * @return string
     */
    public function getSessionId()
    {
    	return $this->sessionId;
    }

    /**
     * 
     * @param string $sessionId
     */
    public function setSessionId($sessionId)
    {
    	$this->sessionId = $sessionId;
    }
    
    /**
     * 
     * @return number
     */
    public function getItemsCount()
    {
    	return $this->itemsCount;
    }

    /**
     * 
     * @param integer $itemsCount
     */
    public function setItemsCount($itemsCount)
    {
    	$this->itemsCount = $itemsCount;
    }
    
    /**
     * 
     * @return number
     */
    public function getTotal()
    {
    	return $this->total;
    }

    /**
     * 
     * @param number $total
     */
    public function setTotal($total)
    {
    	$this->total = $total;
    }
    
    /**
     * 
     * @return string
     */
    public function getCurrency()
    {
    	return $this->currency;
    }

    /**
     *
     * @param string $currency
     */
    public function setCurrency($currency)
    {
    	$this->currency = $currency;
    }
    
}
